import request from '@/utils/request';
// 获取用户概览信息 getUserData
export function getUserData(params) {
  return request({
    url: '/v1/overview/total/get_other_data',
    method: 'get',
    params
  });
}
// 获取活跃用户
export function getActiveUserMemberCount(params) {
  return request({
    url: '/v1/overview/user/get_active_user_member_count_list',
    method: 'get',
    params
  });
}

// 获取新增用户
export function getNewMemberCount(params) {
  return request({
    url: '/v1/overview/user/get_new_user_member_count_list',
    method: 'get',
    params
  });
}

// 获取资讯概览 newsDataApi
export function newsDataApi(params) {
  return request({
    url: '/v1/analysis/overview/news',
    method: 'get',
    params
  });
}
// 获取资讯频道概览
export function newsChannelApi(params) {
  return request({
    url: '/v1/analysis/overview/channel',
    method: 'get',
    params
  });
}
